import request from '../utils/request'
// 背景图
const loginImg = (params = {}) => request.get('/loginImg', { params } )
// 小佘用户登录 登录成功保存token
const userLogin = (params = {}) => request.post('/login', params)
// 管理员账号登录 第二个账号
const userLogins = (params = {}) => request.post('/login2', params)
// admin账号密码
const userAdmin = (params = {}) => request.put('/userAdmin', params)
// superAdmin账号密码
const superAdmin = (params = {}) => request.put('/superAdmin', params)
export { 
  loginImg,
  userLogin,
  userAdmin,
  superAdmin,
  userLogins
}